package com.yunji.coupon.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author : peter-zhu
 * @date : 2024/10/24 11:02
 * @description : TODO
 **/
@Data
public class CouponSiteDTO {
    @ApiModelProperty(value = "主键ID 修改的时候必须传")
    private Long id;
    @NotNull(message = "代理id不能为空")
    @ApiModelProperty(value = "代理id", required = true, example = "1")
    private Long agentId;
    @NotNull(message = "代理所属id不能为空")
    @ApiModelProperty(value = "代理所属id", required = true, example = "2")
    private Long agentBelongId;
    @NotBlank(message = "代理名称不能为空")
    @ApiModelProperty(value = "代理名称", required = true, example = "代理名称")
    private String agentName;
    @ApiModelProperty(value = "代理用户id", required = true, example = "3")
    private Long agentUserId;
    @NotNull(message = "网点id不能为空")
    @ApiModelProperty(value = "网点id", required = true, example = "4")
    private Long siteId;
    @NotNull(message = "网点所属id不能为空")
    @ApiModelProperty(value = "网点所属id", required = true, example = "5")
    private Long siteBelongId;
    @NotBlank(message = "网点名称不能为空")
    @ApiModelProperty(value = "网点名称", required = true, example = "网点名称")
    private String siteName;
}
